package cn.damai.struts.demo.action;

import com.opensymphony.xwork2.ActionSupport;
import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Namespace;
import org.apache.struts2.convention.annotation.ParentPackage;
import org.apache.struts2.convention.annotation.Result;

/**
 * @Desc
 * @Author huangjunwei
 * @Date 2016/3/2 16:41
 */
//@ParentPackage("struts-default")
//@Namespace("/demo")
public class BaseAction extends ActionSupport {
    private String totalPath;

    public String dispatcher() {
        return "success";
    }

    public String getTotalPath() {
        return totalPath;
    }

    public void setTotalPath(String totalPath) {
        this.totalPath = totalPath;
    }
}
